﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Waker.Entitys;
using System.Drawing;

namespace Waker.Common
{
    public static class Session
    {
        //public static DevExpress.LookAndFeel.DefaultLookAndFeel _DefaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel();
        /// <summary>
        /// 当前用户Code
        /// </summary>
        public static string _CurrUserCode;
        /// <summary>
        /// 当前用户名
        /// </summary>
        public static string _CurrUserName;
        public static string _SkinName;
        public static Icon _SystemIcon;
        public static string _CommanyName;

        public static byte[] _CommanyLogo;
        public static int IDCard_nPort;


        public static string Finger_IP;
        public static int Finger_Port;
        public static bool Finger_IsConneted;


        public static bool IDCard_IsConneted;


        public static ADSHalDataStruct.ADS_Comadapter _ADS_Comadapter = new ADSHalDataStruct.ADS_Comadapter();
        public static Dictionary<string, En_ADS> _DicADsDevice = new Dictionary<string, En_ADS>();

        //public static List<string> _ListTest = new List<string>();
        public static DateTime LastEventTime = DateTime.Now;
        public static List<En_CardAndEmployee> ListEmployeeAndCard = new List<En_CardAndEmployee>();
        public static List<En_ADSEventDataToDisplay> ListADSEventDataToDisplay = new List<En_ADSEventDataToDisplay>();
        public static Image EventImage = null;

        public static bool IsCardUse34;

        public static bool IsNVRInited = false;
        //public static Dictionary<string, En_NVR> _DioLoginedNVR = new Dictionary<string, En_NVR>();


        public static List<En_LEDData> ListInDoorLEDData = new List<En_LEDData>();
        //public static bool IsLEDInDoorShow = false;

    }
}
